require 'redmine'

# Patches to the Redmine core
require 'dispatcher'

Dispatcher.to_prepare do
  require 'query_patch'
  Query.send(:include, QueryPatchExtendedColumn)
end


Redmine::Plugin.register :redmine_extended_columns do
  name 'Redmine Extended Columns Plugin'
  author 'Tsubo'
  description 'This plugin extend the columns in the list of issues.'
  url 'http://code.google.com/p/tsubo-redmine-plugins/'
  author_url 'http://code.google.com/p/tsubo-redmine-plugins/'

  version '0.0.2'
  requires_redmine :version_or_higher => '0.9.0'
end
